#ifndef MYBUTTON_H
#define MYBUTTON_H

#include <QWidget>
#include <QPushButton>


//string str = "hello";
//string str("hello");
class MyButton : public QPushButton
{
    Q_OBJECT
public:
    //MyButton b = 0;       error
    //MyButton b(0);        true
    explicit MyButton(QWidget *parent = 0);

signals:
    void textChanged(const QString&);
public slots:
    void clickedSlot();
};

#endif // MYBUTTON_H
